package com.yudaob2b.business.service.impl;


import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.yudaob2b.business.dao.ElongHotelInventoryDao;
import com.yudaob2b.business.entity.po.ElongHotelInventoryPO;
import com.yudaob2b.business.service.ElongHotelInventoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 系统用户
 *
 * @author Kidd.Tan
 * @email 298023780@qq.com
 * @date 2018-02-08
 */
@Service("elongHotelInventoryService")
public class ElongHotelInventoryServiceImpl extends ServiceImpl<ElongHotelInventoryDao, ElongHotelInventoryPO> implements ElongHotelInventoryService {

    @Autowired
    private ElongHotelInventoryDao elongHotelInventoryDao;

    public int updateBatch(List<ElongHotelInventoryPO> list) {
        return elongHotelInventoryDao.updateBatch(list);
    }

    public int replaceInto(List<ElongHotelInventoryPO> list) {
        return elongHotelInventoryDao.replaceInto(list);
    }
}
